package com.liam.lotterysystem.controller.param;

import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serializable;

/**
 * @Author: LiamLMK
 * @CreateTime: 2024-10-22
 * @Description:
 * @Version: 1.0
 */

@Data
public class CreatePrizeByActivityParam implements Serializable {

    /**
     * 关联的奖品Id
     */
    @NotNull(message = "关联的奖品Id不能为空")
    private Long prizeId;
    /**
     * 奖品数量
     */
    @NotNull(message = "奖品数量不能为空")
    private Long prizeAmount;
    /**
     * 奖品等级
     */
    @NotNull(message = "奖品等级不能为空")
    private String prizeTiers;
}
